Skip to content

Conversation

@infoShare
Copy link

@infoShare infoShare commented Jan 16, 2023

Adding support for InsertManyOptions for insert and insertAll methods on ReactiveMongoTemplate and MongoTemplate
Using writer on MongoTemplate.doInsertAll (which wasn't used)
Closes #4252

  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).**

Clean PR @christophstrobl regarding #4252

infoShare and others added 2 commits January 16, 2023 14:09
… on ReactiveMongoTemplate and MongoTemplate

Using writer on MongoTemplate.doInsertAll (which wasn't used)

Closes #4252
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 16, 2023
@christophstrobl christophstrobl added the for: team-attention An issue we need to discuss as a team to make progress label Jan 19, 2023
@christophstrobl
Copy link
Member

Thanks for creating the PR. Performance wise there is no major difference between the driver API for insertMany and bulk.insert which makes me curious if (related to the missing bulk ops in the reactive support (#2821)) it would make more sense to have ReactiveBulkOperations instead of adding yet another round of methods to the template.
Let me take this to the team as well.

@christophstrobl
Copy link
Member

We've added support for reactive bulk operations. Closing this one as it has been superseded by #4342.

@christophstrobl christophstrobl added status: superseded An issue that has been superseded by another and removed status: waiting-for-triage An issue we've not yet triaged for: team-attention An issue we need to discuss as a team to make progress labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: superseded An issue that has been superseded by another

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider adding options parameter to ReactiveMongoTemplate.insertAll

3 participants